package com.wenjiang.common.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 评论的视图
 */
@Data
public class CommentVo {

    //评论Id
    private  Integer commentId;

    //商品名字
    private String goodName;

    //商品图片
    private String goodImgUrl;
    // 商品简介
    private String goodInfo;

    //评论内容
    private String commentContent;

    //评论星级
    private Integer star;

    //是否评论
    private Integer isComment;

    //评论时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime created_time;



}
